package com.spic.business;

import com.spic.business.factory.Remote7daysForecastFallbackFactory;
import com.spic.common.core.constant.ServiceNameConstants;
import com.spic.common.core.web.domain.AjaxResult;
import com.spic.common.feign.FeignRequestInterceptor;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * Remote7daysForecast
 *
 * @author xuxiaochang@chinasofi.com
 * @date 2022/4/8
 */
@FeignClient(contextId = "remote7daysForecast", value = ServiceNameConstants.SPIC_BUSINESS_TICKETS, configuration = FeignRequestInterceptor.class,fallbackFactory = Remote7daysForecastFallbackFactory.class)
public interface Remote7daysForecast
{
    @PostMapping("7dayForecast")
    void daysForecat();
}
